package com.antgroup.seckill.business.goods.service;

import com.antgroup.seckill.business.goods.model.SeckillOrder;
import com.antgroup.seckill.business.goods.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangxy
 * @since 2024-07-30
 */
public interface ISeckillOrderService extends IService<SeckillOrder> {


    SeckillOrder querySeckillOrderByUserId(String id);

    String querySeckillGoodsOrder(User user, String goodsId);

    String createSeckillPath(User user, String goodsId);

    boolean checkSeckillPath(User user, String goodsId, String path);

    boolean checkCaptch(User user, String goodsId, String captcha);
}
